import type { StoryConfig } from './type';
import { startGameStory } from './start-game';
import { baiZhanBuDaiCultivationSkillStory } from './fangshi/bai-zhan-bu-dai-cultivation-skill';
import { zhenXianStory } from './realm/zhen-xian';

export const STORY_ID = {
  START_GAME: 'START_GAME',
  FANG_SHI_BAI_ZHAN_BU_DAI_CULTIVATION_SKILL:
    'FANG_SHI_BAI_ZHAN_BU_DAI_CULTIVATION_SKILL',
  ZHEN_XIAN: 'ZHEN_XIAN',
} as const;

export type StoryId = keyof typeof STORY_ID;

export const STORY_DATA: Record<StoryId, StoryConfig> = {
  [STORY_ID.START_GAME]: startGameStory,
  [STORY_ID.FANG_SHI_BAI_ZHAN_BU_DAI_CULTIVATION_SKILL]:
    baiZhanBuDaiCultivationSkillStory,
  [STORY_ID.ZHEN_XIAN]: zhenXianStory,
};
